# a test procedure

alpha=0.05; df = 1; d=0.1

# calc quantile of the non-cental t distribution

nctinv(1-alpha/2,df,d)